package com.augurit.wf.common.constant;

public class WfConstant {
	
	public static final String JPDL_XML = ".jpdl.xml";	//流程定义xml文件
	public static final String JPDL_PNG = ".png";	//流程定义png文件
	
	public static final String VIEW_DB = "VIEW_DB";
	public static final String VIEW_ZB = "VIEW_ZB";
	public static final String VIEW_YB = "VIEW_YB";
	public static final String VIEW_BJ = "VIEW_BJ";
	public static final String VIEW_READONLY = "VIEW_READONLY";
	
	public static final String ACTIVITY_TYPE_START = "start";
	public static final String ACTIVITY_TYPE_END = "end";
	public static final String ACTIVITY_TYPE_TASK = "task";
	public static final String ACTIVITY_TYPE_END_CANCEL = "end-cancel";
	public static final String ACTIVITY_TYPE_END_ERROR = "end-error";

	public static final String VAR_MASTER_ENTITY_ALIAS = "form";	//存放主业务实体对象的变量名
	public static final String VAR_SMARTFORM_TEMPLATE = "template";
	public static final String VAR_SMARTFORM_TASK = "task";
	public static final String VAR_SMARTFORM_ID = "id";
	public static final String VAR_SMARTFORM_USER = "user";
	public static final String VAR_SYS_STARTER = "$SYSVAR_STARTER";		//流程启动者
	public static final String VAR_SYS_ACTIVITY_ASSIGNEE = "$SYSVAR_ASSIGNEE_";	//没个环节的处理人
	
	public static final String FREE_FLOW_SCOPE_ALL = "all";
	public static final String FREE_FLOW_SCOPE_RANGE = "range";
	public static final String FREE_FLOW_SCOPE_AFTER = "after";
	
	public static final int TASK_SUMMARY_PAGE_SIZE = 5;
	public static final String TASK_SUMMARY_TYPE_DB = "待办";
	public static final String TASK_SUMMARY_TYPE_ZB = "在办";
	public static final String TASK_SUMMARY_TYPE_YB = "已办";
	public static final String TASK_SUMMARY_TYPE_BJ = "办结";
	public static final String TASK_SUMMARY_TYPE_DZB = "待在办";
	
	public static final String TASK_TYPE_MULTITASK = "MULTITASK";
	public static final String TASK_TYPE_TASK = "TASK";
	
	public static final String TASK_ASSIGNEE_SYSTEM_NAME = "[系统任务]";
	public static final String TASK_ASSIGNEE_SYSTEM = "$SYSTASK";
	
	public static final String TASK_STATE_COMPLETED = "已完成";
	public static final String TASK_STATE_OBSOLETE = "终止";
	public static final String TASK_STATE_OPEN = "<font color='green'>处理中</font>";
	public static final String VAR_SYS_JMS = "$SYSVAR_JMS_";		//流程信息提示
	
	public static final String ORG_ADDR = "13800138000"; //短信发送的主机号码
	
	public static final String PRINT = "PRINT";
	public static final String MAKE_DOCUMENT = "make-document";
	public static final String PRINT_JSP = "/wf/client/common/wf-print.jsp";
	public static final String PRINT_BUFFER = "WF_BUS_CLIENT_PRINT_BUFFER";
	public static final String FILE_UPLOAD_PATH = "/upload/";
	
	public static final String PARAM_TEMPLATECODE = "templateCode";
	public static final String PARAM_TASK_INST_DBID = "taskInstDbid";
	public static final String PARAM_PROC_INST_ID = "procInstId";
	public static final String PARAM_VIEW_NAME = "viewName";
	public static final String PRINT_DIR = "PRINT_DIR";
	
	public static final String PRINT_DIR_JSP = "/gzcgwsp/wfex/client/common/wf-dir-print.jsp"; //城管委审批系统 add
}
